﻿using AllenalaMente.State;

namespace AllenalaMente.Games
{
    public enum GameCloseReason
    {
        User,
        Victory,
        Timeout,
        None
    }

    public class GameEventArgs
    {
        public GamesId id;
        public int index;
        public GameCloseReason reason;
        public int score;
        public int giuste;
        public int sbagliate;
    }

    public delegate void GameEvent(object sender, GameEventArgs e);

    interface GameInterface
    {
        event GameEvent GameEnd;
    }
}
